package com.mall.util;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ConcurrentLinkedQueue;

import javax.servlet.http.HttpServletRequest;

public class MyQueue {
	private Integer num;
	private  ConcurrentLinkedQueue<HttpServletRequest> cl = new ConcurrentLinkedQueue<HttpServletRequest>();
	private  ArrayBlockingQueue<HttpServletRequest> abq = new ArrayBlockingQueue<HttpServletRequest>(num);
	public MyQueue(Integer num) {
		super();
		this.num = num;
	}
	public ConcurrentLinkedQueue<HttpServletRequest> getCl() {
		return cl;
	}
	public ArrayBlockingQueue<HttpServletRequest> getAbq() {
		return abq;
	}
	
	
	
}
